#include "chinese_fonts.h"
#include "ssd1306.h"

const uint8_t tem[32]={0x00,0x00,0x23,0xF8,0x12,0x08,0x12,0x08,0x83,0xF8,0x42,0x08,0x42,0x08,0x13,0xF8,0x10,0x00,0x27,0xFC,0xE4,0xA4,0x24,0xA4,0x24,0xA4,0x24,0xA4,0x2F,0xFE,0x00,0x00};/*"温",0*/
const uint8_t du[32]={0x01,0x00,0x00,0x80,0x3F,0xFE,0x22,0x20,0x22,0x20,0x3F,0xFC,0x22,0x20,0x22,0x20,0x23,0xE0,0x20,0x00,0x2F,0xF0,0x24,0x10,0x42,0x20,0x41,0xC0,0x86,0x30,0x38,0x0E};/*"度",1*/
const uint8_t hum[32]={0x00,0x00,0x27,0xF8,0x14,0x08,0x14,0x08,0x87,0xF8,0x44,0x08,0x44,0x08,0x17,0xF8,0x11,0x20,0x21,0x20,0xE9,0x24,0x25,0x28,0x23,0x30,0x21,0x20,0x2F,0xFE,0x00,0x00};/*"湿",0*/
const uint8_t lig[32]={0x01,0x00,0x21,0x08,0x11,0x08,0x09,0x10,0x09,0x20,0x01,0x00,0xFF,0xFE,0x04,0x40,0x04,0x40,0x04,0x40,0x04,0x40,0x08,0x42,0x08,0x42,0x10,0x42,0x20,0x3E,0xC0,0x00};/*"光",0*/
const uint8_t ht[32]={0x00,0x00,0x7D,0xFC,0x44,0x44,0x44,0x44,0x44,0x44,0x44,0x94,0x7D,0x08,0x44,0xFC,0x44,0x84,0x44,0x84,0x44,0x84,0x7C,0xFC,0x00,0x00,0x48,0x88,0x44,0x44,0x84,0x44};/*"照",0*/
const uint8_t ra[32]={0x00,0x00,0x3F,0xF8,0x01,0x00,0x7F,0xFE,0x41,0x02,0x9D,0x74,0x01,0x00,0x1D,0x70,0x00,0x00,0x3F,0xF8,0x21,0x08,0x21,0x08,0x3F,0xF8,0x21,0x08,0x21,0x08,0x3F,0xF8};/*"雷",0*/
const uint8_t dar[32]={0x00,0x40,0x20,0x40,0x10,0x40,0x10,0x40,0x07,0xFE,0x00,0x40,0xF0,0x40,0x10,0xA0,0x10,0x90,0x11,0x08,0x12,0x04,0x14,0x04,0x10,0x00,0x28,0x00,0x47,0xFE,0x00,0x00};/*"达",1*/
const uint8_t wei[32]={0x10,0x20,0x10,0x20,0x20,0x20,0x25,0xFE,0x44,0x20,0xF8,0x20,0x10,0xFC,0x20,0x20,0x40,0x20,0xFD,0xFE,0x40,0x22,0x00,0x22,0x1C,0x2A,0xE0,0x24,0x40,0x20,0x00,0x20};/*"纬",0*/
const uint8_t jin[32]={0x10,0x00,0x11,0xFC,0x20,0x08,0x24,0x10,0x44,0x30,0xF8,0x48,0x10,0x84,0x23,0x02,0x40,0x00,0xFD,0xFC,0x40,0x20,0x00,0x20,0x1C,0x20,0xE0,0x20,0x43,0xFE,0x00,0x00};/*"经",1*/
const uint8_t hai[32]={0x01,0x00,0x21,0x00,0x11,0xFC,0x12,0x00,0x85,0xF8,0x41,0x08,0x49,0x48,0x09,0x28,0x17,0xFE,0x11,0x08,0xE2,0x48,0x22,0x28,0x23,0xFC,0x20,0x08,0x20,0x50,0x00,0x20};/*"海",2*/
const uint8_t ba[32]={0x10,0x50,0x10,0x48,0x10,0x48,0x10,0x40,0xFB,0xFE,0x10,0x80,0x14,0x80,0x18,0xFC,0x31,0x44,0xD1,0x44,0x11,0x28,0x11,0x28,0x12,0x10,0x12,0x28,0x54,0x44,0x21,0x82};/*"拔",3*/


const uint8_t tang[32]={0x01,0x00,0x00,0x80,0x3F,0xFE,0x20,0x80,0x2F,0xF8,0x20,0x88,0x3F,0xFE,0x20,0x88,0x2F,0xF8,0x20,0x80,0x2F,0xF8,0x28,0x08,0x48,0x08,0x48,0x08,0x8F,0xF8,0x08,0x08};/*"唐",0*/
const uint8_t ao[32]={0x12,0x10,0x12,0x10,0x1F,0xD0,0x22,0x20,0x2F,0xBE,0x62,0x44,0xBF,0xA4,0x24,0x24,0x24,0x24,0x27,0xA8,0x24,0xA8,0x24,0x90,0x24,0xA8,0x29,0xA8,0x28,0x44,0x30,0x82};//傲
const uint8_t yu[32]={0x02,0x00,0x01,0x00,0x7F,0xFE,0x40,0x02,0x80,0x04,0x3F,0xF8,0x01,0x00,0x01,0x00,0x01,0x00,0xFF,0xFE,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x05,0x00,0x02,0x00};//宇
const uint8_t qin[32]={0xFF,0xFE,0x04,0x40,0x3F,0xF8,0x24,0x48,0x3F,0xF8,0x00,0x00,0x1F,0xF0,0x10,0x10,0x1F,0xF0,0x10,0x10,0x1F,0xF0,0x01,0x00,0xFF,0xFE,0x01,0x00,0x01,0x00,0x01,0x00};//覃
const uint8_t zhao[32]={0x08,0x00,0x08,0x3E,0xFF,0xA2,0x08,0x22,0x7F,0x22,0x41,0x3E,0x7F,0x22,0x41,0x22,0x7F,0x22,0x49,0x3E,0x08,0x22,0xFF,0xA2,0x08,0x42,0x08,0x42,0x08,0x8A,0x09,0x04};//zhao
const uint8_t jun[32]={0x00,0x00,0x3F,0xF8,0x04,0x08,0x04,0x08,0xFF,0xFE,0x04,0x08,0x04,0x08,0x3F,0xF8,0x08,0x00,0x08,0x00,0x1F,0xF8,0x18,0x08,0x28,0x08,0x48,0x08,0x8F,0xF8,0x08,0x08};/*"君",5*/
const uint8_t wu[32]={0x08,0x00,0x0B,0xFC,0x08,0x40,0x10,0x40,0x10,0x40,0x30,0x40,0x33,0xF8,0x50,0x88,0x90,0x88,0x10,0x88,0x10,0x88,0x11,0x08,0x11,0x08,0x11,0x08,0x17,0xFE,0x10,0x00};/*"伍",6*/
const uint8_t biao[32]={0x10,0x00,0x11,0xFC,0x10,0x00,0x10,0x00,0xFC,0x00,0x13,0xFE,0x30,0x20,0x38,0x20,0x55,0x28,0x55,0x24,0x92,0x24,0x12,0x22,0x14,0x22,0x10,0x20,0x10,0xA0,0x10,0x40};/*"标",7*/
const uint8_t song[32]={0x02,0x00,0x01,0x00,0x7F,0xFE,0x40,0x02,0x81,0x04,0x01,0x00,0x01,0x00,0x7F,0xFC,0x03,0x80,0x05,0x40,0x09,0x20,0x11,0x10,0x21,0x08,0xC1,0x06,0x01,0x00,0x01,0x00};/*"宋",8*/
const uint8_t yang[32]={0x10,0x00,0x11,0xF8,0x10,0x10,0x10,0x20,0xFC,0x40,0x10,0x80,0x31,0xFE,0x38,0x92,0x54,0x92,0x54,0x92,0x91,0x12,0x11,0x22,0x12,0x22,0x14,0x42,0x10,0x94,0x11,0x08};/*"杨",9*/
const uint8_t jian[32]={0x10,0x20,0x10,0x20,0x10,0xFC,0x2E,0x24,0x23,0xFE,0x62,0x24,0x64,0xFC,0xA4,0x20,0x2E,0xFC,0x22,0x20,0x22,0x20,0x2B,0xFE,0x24,0x20,0x26,0x20,0x29,0xFE,0x30,0x00};/*"健",10*/
const uint8_t su[32]={0x08,0x20,0x08,0x20,0xFF,0xFE,0x08,0x20,0x0A,0x20,0x02,0x00,0x7F,0xF0,0x02,0x10,0x02,0x14,0x22,0x12,0x22,0x12,0x24,0x12,0x44,0x10,0x08,0x10,0x10,0xA0,0x20,0x40};/*"苏",11*/
const uint8_t mo[32]={0x08,0x20,0x08,0x20,0xFF,0xFE,0x08,0x20,0x00,0x00,0x1F,0xF0,0x10,0x10,0x1F,0xF0,0x10,0x10,0x1F,0xF0,0x01,0x00,0x7F,0xFC,0x02,0x80,0x04,0x40,0x18,0x30,0xE0,0x0E};/*"莫",12*/
const uint8_t han[32]={0x02,0x00,0x01,0x00,0x7F,0xFE,0x44,0x42,0x9F,0xF4,0x04,0x40,0x3F,0xF8,0x04,0x40,0xFF,0xFE,0x08,0x20,0x13,0x10,0x20,0x88,0xC0,0x46,0x06,0x00,0x01,0x80,0x00,0x40};/*"寒",13*/
const uint8_t huang[32]={0x04,0x40,0x3F,0xF8,0x04,0x40,0x04,0x40,0xFF,0xFE,0x01,0x00,0x1F,0xF0,0x11,0x10,0x11,0x10,0x1F,0xF0,0x11,0x10,0x11,0x10,0x1F,0xF0,0x04,0x40,0x08,0x20,0x10,0x10};/*"黄",14*/
const uint8_t wen[32]={0x02,0x00,0x01,0x00,0x01,0x00,0xFF,0xFE,0x10,0x10,0x10,0x10,0x08,0x20,0x08,0x20,0x04,0x40,0x02,0x80,0x01,0x00,0x02,0x80,0x04,0x40,0x08,0x20,0x30,0x18,0xC0,0x06};/*"文",15*/
const uint8_t jie[32]={0x01,0x00,0x01,0x00,0x01,0x00,0x7F,0xFC,0x03,0x80,0x05,0x40,0x09,0x20,0x11,0x10,0x21,0x08,0xC1,0x06,0x01,0x00,0x00,0x00,0x24,0x88,0x22,0x44,0x42,0x44,0x80,0x04};/*"杰",16*/


void DrawChineseChar(uint8_t x, uint8_t y, const uint8_t* font) {
    ssd1306_DrawRegion(x, y, 16, font, 32);
} 